//
//  ClassJokeModel.m
//  HaHa
//
//  Created by 姚君泽 on 15/9/19.
//  Copyright (c) 2015年 吉亚平. All rights reserved.
//

#import "ClassJokeModel.h"

@implementation ClassJokeModel
-(void)setValue:(id)value forUndefinedKey:(NSString *)key
{
    
}

+(ClassJokeModel *)shareValueWithDic:(NSDictionary *)dictionary{
    ClassJokeModel *model = [[ClassJokeModel alloc] init];
    model.comments = [dictionary objectForKey:@"comments"];
    model.comment = [model.comments lastObject];
    NSDictionary *Dic = [dictionary objectForKey:@"group"];
    [model setValuesForKeysWithDictionary:Dic];
    return model;

}



@end
